<!DOCTYPE html>
<html>
<head>
	<title>02</title>
	<style type="text/css">
		.red{
			color: red;
		}
	</style>
</head>
<body>
<div id="app">
	<h1 :class="color" :title="color">coding.iwanli.me</h1>
</div>
<script type="text/javascript" src="../vue.js"></script>
<script type="text/javascript">
	var app = new Vue({
		el: '#app',
		data: {
			color: 'red'
		}
	});
</script>
</body>
</html>